home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / StringReplace.au3 < prev    next >
Encoding:
Text File  |  2006-06-17  |  192 b   |  5 lines

  1. $text = StringReplace("this is a line of text", " ", "-")
  2. $numreplacements = @extended
  3. MsgBox(0, "New string is", $text)
  4. MsgBox(0, "The number of replacements done was", $numreplacements)
  5.